package my.study.designpattern.abstractfactory.example1;

public class MacProducer implements ComputerProducer {
	private static MacProducer singleton = new MacProducer();

	private MacProducer() {

	}

	public static ComputerProducer getProducer() {
		return singleton;
	}

	public CPU createCPU(String id) {
		return new MacCPU(id);
	}

	public Ram createRam(String id) {
		return new MacRam(id);
	}
}
